/*
 * @Author: C.
 * @Date: 2023-04-14 16:59:37
 */
/*
 * @AuthoC.
 * @Dat2023-04-14 16:59:37
 */
//销售订单编辑配置
import { getFormMaps } from '/~/utils/help/createFields';
// 通用的可计算的表格配置
import { getComputedTableColums } from '/~/utils/help/erphelp';
// import { useI18n } from '/@/hooks/web/useI18n';
// const { t } = useI18n();
// 表单配置
export const formSchemas = getFormMaps([
  'CustomerId',
  [
    'CustomerName',
    {
      required: true,
    },
  ],
  [
    'Currency',
    {
      required: true,
      componentProps: {
        disabled: true,
      },
    },
  ],
  'SalesReps',
  [
    'DeliveryDate',
    {
      required: true,
    },
  ],
  'RelationId',
  'Remarks',
]);

// 获取可计算的明细详情表格
export const tableColumns = getComputedTableColums();
